<p>
<?php


$array = array(
	 array(1, 2, 3, 4, 5)
	,array(2, 4, 3, 6, 7)
	,array(5, 3, 5, 6, 8)
	,array(4, 3, 2, 1, 0)
	,array(2, 3, 4, 6, 7)
	,array(2, 3, 4, 6, 7)

);
?>
</p>

<table>
<?php foreach($array as $array): ?>
<tr>
<?php foreach($array as $array): ?>
<td><?php echo $array."&nbsp";?></td>
<?php endforeach;?>
</tr>
<?php endforeach;?>
</table>

以上是正解






<p>
<?php

$array = array(
	array(1, 2, 3, 4, 5)
	,array(6, 7, 8, 9, 10)
	,array(11, 12, 13, 14, 15)
	,array(16, 17, 18, 19, 20)
	,array(21, 22, 23, 24, 25)
);
echo $array[1][3];
?>
</p>
<h3>=======================================</h3>
<?php
	for($i=0;$i<5;$i++){
	    echo "<br />";
		for($j=0;$j<5;$j++){
			echo "  ".$array[$i][$j];
   		}
   }
?>

<h3>=======================================</h3>

<table id="test">
<?php foreach($array as $kk): ?>
<tr>

		<?php for($p=0;$p<5;$p++){
							echo "<td>" . $kk[$p] . "</td>";
						}
			?>

</tr>
<?php endforeach;?>
</table>

		<?php foreach($kk[0] as $tt): ?>
				<td id='test'>
						<?php echo 1; ?>
				"</td>";
		<?php endforeach;?>

<h1>=======================================</h1>
<table id="test">
<?php foreach($array as $kk): ?>
<tr>
<?php foreach($kk as $tt): ?>
<td id="test"><?php echo $tt;?></td>
<?php endforeach;?>
</tr>
<?php endforeach;?>
</table>
<h3>=======================================</h3>

<table id="test">
<?php foreach($array as $kk): ?>
<tr>

		<?php for($p=0;$p<5;$p++){
							echo "<td id='test'>". $kk[$p] . "</td>";
						}
			?>

</tr>
<?php endforeach;?>
</table>

<h1>=======================================</h1>